{include file="public/header" /}

<body>
    <div class="header">
        <span class="layui-icon layui-icon-left" onclick="load_href('{:url(\'user/index\')}',2)"></span> 设置
    </div>

    <ul class="set-list">
        <li>
            <a href="{:url('user/info')}">
                <p class="flex-center">
                    <img src="/static/index/img/icon8.png" alt="">
                </p>
                <p class="center">个人资料</p>
                <i class="layui-icon layui-icon-right"></i>
            </a>
        </li>
        <li>
            <a href="{:url('security/password')}?type=password">
                <p class="flex-center">
                    <img src="/static/index/img/icon9.png" alt="">
                </p>
                <p class="center">安全设置</p>
                <i class="layui-icon layui-icon-right"></i>
            </a>
        </li>
        <li>
            <a href="{:url('address/index')}">
                <p class="flex-center">
                    <img src="/static/index/img/icon10.png" alt="">
                </p>
                <p class="center">地址管理</p>
                <i class="layui-icon layui-icon-right"></i>
            </a>
        </li>
        <li>
            <a href="{:url('user/methodList')}">
                <p class="flex-center">
                    <img src="/static/index/img/icon11.png" alt="">
                </p>
                <p class="center">收款方式</p>
                <i class="layui-icon layui-icon-right"></i>
            </a>
        </li>
    </ul>



    <p class="save quit" style="color: #fff">退出登录</p>
</body>
{include file="public/footer"/}
<script>
    $('.quit').click(function () {
        layer.confirm('是否退出登录？', { title: '请确认' }, function (index) {
            _ajax('{:url("user/logout")}');
        });
    });
</script>

</html>